import request from '@/utils/request'


export function getAllStudentsByPageAPI(params) {
  return request({
    url: '/student/getAllStudentsByPage',
    params
  })
}
export function exportExcelAPI(params) {
  return request({
    url: '/student/exportExcel',
    method: 'GET',
    responseType: 'blob', 
    params
  });
}

export function editStudentClassAPI(StudentDto) {
  return request({
    url: '/student/editStudentClass',
    method: 'post',
    data: StudentDto
  })
}
